Performance Optimisation (1/5)
How would you go about investigating slow React application rendering?
    React DevTools Profiler
    • Available in React DevTools, it shows component rendering times and highlights unnecessary re-renders.
    • Open the Profiler tab in React DevTools
    • Record interactions (e.g., clicking a button or navigating).
    • Analyze rendering times and components with excessive re-renders
    Browser DevTools Performance:
    • The performance tab in Chrome or Firefox helps identify slow scripts and layout calculations.